package jym.tan.movielibrary.component.base;

import java.awt.Dialog;
import java.awt.Frame;

import javax.swing.JDialog;

import jym.tan.movielibrary.component.Initializer;

public abstract class BaseDialog extends JDialog implements Initializer {

	private static final long serialVersionUID = 22L;

	public BaseDialog(Frame owner, String title) {
		super(owner, title, Dialog.ModalityType.TOOLKIT_MODAL);
		initialize();
	}

	public BaseDialog(Dialog owner, String title) {
		super(owner, title, Dialog.ModalityType.TOOLKIT_MODAL);
		initialize();
	}
	
	public abstract void initialize();
}
